package ooday03;

public class Director extends Peaple implements SolveProblem,Train,WriteBook{
    Director(String name,int age,double salary){
        super(name,age,salary);
    }
    public void solveProblem(){
        System.out.println("大家好,我叫"+name+",今年"+age+"岁了,工资"+salary+"元,可以帮大家解决问题...");
    }
    public void train(){
        System.out.println(name+"正在培训员工...");
    }
    public void writeBook(){
        System.out.println(name+"正在编辑书籍...");
    }
    void finishWork(){
        System.out.println(name+"已完成今天管理工作...");
    }
}
